from google.appengine.ext import ndb
class User(ndb.Model):
    _use_cache = False
    _use_memcache = False
    city = ndb.StringProperty()
    love = ndb.StringProperty()
kaz = User(id="kaz", city="Tokyo", love="python"); kaz.put()
User(id="proppy", city="Tokyo", love="golang").put()
kaz.love = "golang"; kaz.put()
keys = User.query(User.city == "Tokyo").fetch(keys_only=True) # kaz
print ndb.get_multi(keys) # kaz:golang
keys = User.query(User.city == "Tokyo").fetch(keys_only=True) # kaz,proppy
print ndb.get_multi(keys) # kaz:golang,proppy:golang
